package com.project.class4_8.dynaproxy;

public class Test {
    public static void main(String[] args) {
        ProxyFactory factory = new ProxyFactory(new WBoss());
        IEat ie = (IEat)factory.getProxy();
        ie.eat();
        ie.drink();
    }
}
